// @ts-ignore
import request from '#/utils/requestAbort';

export const queryDailyRollingTradeReport = (data: any) => {
  return request('/distribution/dailyRollingTradeReport/queryDailyRollingTradeReport', {
    method: 'POST',
    data,
  });
};

export const saveDailyRollingTradeReport = (data: any) => {
  return request('/distribution/dailyRollingTradeReport/saveDailyRollingTradeReport', {
    method: 'POST',
    data,
  });
};

export const editDailyRollingTradeReport = (data: any) => {
  return request('/distribution/dailyRollingTradeReport/editDailyRollingTradeReport', {
    method: 'POST',
    data,
  });
};

export const queryDefaultTemplate = (data: any) => {
  return request('/distribution/dailyRollingTradeReport/queryDefaultTemplate', {
    method: 'POST',
    data,
  });
};

export const queryDailyRollingTradeReportLog = (data: any) => {
  return request('/distribution/dailyRollingTradeReport/queryDailyRollingTradeReportLog', {
    method: 'POST',
    data,
  });
};
